package com.WangNan.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @Description:
 * @Author :W.
 * @Date:2025/4/8 16:35
 */

@Getter
@Setter
@ToString
@TableName("wn_manager")
public class Manager {

    @TableId(type = IdType.AUTO)
    private int id;

    @TableField
    private String account;
    private String password;
    private String status;

    @TableField("last_login_time")
    private LocalDateTime lastLoginTime;
    private String lastLoginIp;


}